package com.example.check.entity;

import java.util.Date;

/**
 * Created by 13296 on 2017/7/13.
 */
public class UserEntity {
    private int id;
    private String account;
    private String password;
    private String randomSalt;
    private String name;
    private String roleLevel;
    private String sex;
    private String telephone;
    private String email;
    private String address;

    public UserEntity(){

    }

    public UserEntity(String account, String password, String randomSalt, String name, String roleLevel,String sex, String telephone, String email, String address){
        this.id = id;
        this.account = account;
        this.password = password;
        this.randomSalt = randomSalt;
        this.name = name;
        this.roleLevel = roleLevel;
        this.sex = sex;
        this.telephone = telephone;
        this.email = email;
        this.address = address;
    }
    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    private Date loginTime;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getRoleLevel() {
        return roleLevel;
    }

    public void setRoleLevel(String roleLevel) {
        this.roleLevel = roleLevel;
    }

    public String getRandomSalt() {
        return randomSalt;
    }

    public void setRandomSalt(String randomSalt) {
        this.randomSalt = randomSalt;
    }
}
